package com.tssm.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SarcQuotationCargo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SARC_QUOTATION_CARGO", schema = "dbo", catalog = "ts")
public class SarcQuotationCargo implements java.io.Serializable {

	private static final long serialVersionUID = -7831374801806766123L;
	private Long quocargoid;
	private Long supplierid;
	private Long quotationid;
	private String name;
	private String code;
	private Double price;
	private Long least;
	private String unit;
	private Date quotationTime;
	private Date endTime;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private Date ts;
	private Long dr;

	// Constructors

	/** default constructor */
	public SarcQuotationCargo() {
	}

	/** full constructor */
	public SarcQuotationCargo(Long supplierid, Long quotationid, String name,
			String code, Double price, Long least, String unit,
			Date quotationTime, Date endTime, String def1,
			String def2, String def3, String def4, String def5, String def6,
			String def7, String def8, String def9, Date ts, Long dr) {
		this.supplierid = supplierid;
		this.quotationid = quotationid;
		this.name = name;
		this.code = code;
		this.price = price;
		this.least = least;
		this.unit = unit;
		this.quotationTime = quotationTime;
		this.endTime = endTime;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.ts = ts;
		this.dr = dr;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "QUOCARGOID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getQuocargoid() {
		return this.quocargoid;
	}

	public void setQuocargoid(Long quocargoid) {
		this.quocargoid = quocargoid;
	}

	@Column(name = "SUPPLIERID", precision = 18, scale = 0)
	public Long getSupplierid() {
		return this.supplierid;
	}

	public void setSupplierid(Long supplierid) {
		this.supplierid = supplierid;
	}

	@Column(name = "QUOTATIONID", precision = 18, scale = 0)
	public Long getQuotationid() {
		return this.quotationid;
	}

	public void setQuotationid(Long quotationid) {
		this.quotationid = quotationid;
	}

	@Column(name = "NAME")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "CODE")
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "PRICE", precision = 18)
	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@Column(name = "LEAST", precision = 18, scale = 0)
	public Long getLeast() {
		return this.least;
	}

	public void setLeast(Long least) {
		this.least = least;
	}

	@Column(name = "UNIT")
	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Column(name = "QUOTATION_TIME")
	public Date getQuotationTime() {
		return this.quotationTime;
	}

	public void setQuotationTime(Date quotationTime) {
		this.quotationTime = quotationTime;
	}

	@Column(name = "END_TIME")
	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Column(name = "DEF1")
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2")
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3")
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4")
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5")
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6")
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7")
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8")
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9")
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "TS")
	public Date getTs() {
		return this.ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	@Column(name = "DR", precision = 18, scale = 0)
	public Long getDr() {
		return this.dr;
	}

	public void setDr(Long dr) {
		this.dr = dr;
	}

}